





<div class="x-body">
        <form class="layui-form form_single" id="form" action="{:url('share_balance_recharge_log')}" method="post">



        <div class="layui-form-item">
            <label for="L_pass" class="layui-form-label">
                充值金额
            </label>
            <div class="layui-input-block">
                <input type="number" id="L_pass" name="balance"
                       autocomplete="off" class="layui-input"  >
            </div>
            <div class="layui-form-mid layui-word-aux">
                (充值金额)
            </div>
        </div>

            <div class="layui-form-item">
                <label for="remark" class="layui-form-label">
                    充值备注
                </label>
                <div class="layui-input-block">
                    <textarea id="remark" class="layui-textarea" name="remark" maxlength="80" onchange="this.value=this.value.substring(0, 80)" onkeydown="this.value=this.value.substring(0, 80)" onkeyup="this.value=this.value.substring(0, 80)"    rows="3" placeholder="请输入充值备注">{$info['describe']|default=''}</textarea>
                </div>
                <!--<div class="layui-form-mid layui-word-aux">-->
                <!--(文章描述信息/简介)-->
                <!--</div>-->
            </div>








<div class="box-footer">

    {include file="layout/edit_btn_group"/}

</div>

</form>
</div>

<script>

    layui.use('form', function(){
        var form = layui.form;

        //各种基于事件的操作，下面会有进一步介绍
        form.on('radio(test)', function(data){
            if(data.value>4 ){
                $('#wallet').show();
            } else{
                $('#wallet').hide();
            }

            form.render();
            console.log(data.value); //被点击的radio的value值
        });
    });


</script>


